home *** CD-ROM | disk | FTP | other *** search
/ PC User 2002 April / Disc 2 / PCUSER0402D2.iso / software / utils / files / wincron.exe / data1.cab / Sample_Scripts / Include / stdarg.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-20  |  348 b   |  24 lines

  1. #ifndef _STDARGH
  2. #define _STDARGH
  3.  
  4. #pragma push_safeptr
  5.  
  6.  
  7. typedef char *va_list;
  8.  
  9. int _get_AR_t_size(void);
  10. va_list _StArT_Va(void *);
  11. int _AR_t_SiZe;
  12.  
  13.  
  14. #define va_arg(x,y)     (*(y*)(x -= _AR_t_SiZe))
  15. #define va_start(x,y)   (x)=_StArT_Va(&(y))
  16. #define va_end(x)   
  17.  
  18. _AR_t_SiZe = _get_AR_t_size();
  19.  
  20. #pragma pop_ptr
  21.  
  22. #endif
  23.  
  24.